package com.myTest;

//import org.apache.ibatis.annotations.Insert;
//import org.apache.ibatis.annotations.Mapper;
//import org.apache.ibatis.annotations.Param;
//import org.apache.ibatis.annotations.Select;


//@Mapper
public interface UserMapper {

/*
    @Select("select * from user where username= #{username}")
    public User getUserByName(String username);

    @Select("select * from user where username= #{username} and password= #{password}")
    public User getUser(@Param("username") String username, @Param("password") String password);

    @Insert(" insert into user (username, password, JSESSIONID,route) values (#{username}, #{password}, #{JSESSIONID}, #{route}) ")
    public void addUser(User user);

    @Select("select * from user ")
    List<User> findAll();

    //public String updateCookieByName(@Param("username") String username,@Param("cookie") String cookie);
*/
}
